package com.jzg.jcptadmin.viewinterface;

import com.jzg.jcptadmin.base.MvpView;
import com.jzg.jcptadmin.data.vo.CarDetails;
import com.jzg.jcptadmin.data.vo.FastOnlineData;
import com.jzg.jcptadmin.data.vo.OfflineDetetionDataSearchByVin;

import java.util.Map;

/**
 * Created by liugl on 2016/11/8.
 */

public interface OnLineSearchByVINInterface extends MvpView {

    /**
     * 显示错误信息
     *
     * @param error
     */
    void showError(String error);
    /**
     *显示数据
     */
    void showData(FastOnlineData fastOnlineData);

    /**
     * 显示更多数据
     */
    void showMoreData(FastOnlineData fastOnlineData);
    /**
     * 显示车辆详情
     */
    void showDetail(CarDetails carDetails, String type);

    /***
     * 认领成功
     */
    void claimSucceed();
    /***
     * 认领失败
     */
    void claimFailed(String message);
    void dataFailed(String message);

    void qiangdan(String taskId, String msg);

    /**
     * 搜索vin码的参数
     * @return
     */
    public Map<String, String> getOnLineSearchByVinParameters(String pageId);

    void onOnLineAndOffLineLoadDataError(String errMsg);

    void onOnLineDetailSuc(CarDetails carDetails, String type);
    void dataOnLineFailed(String message);

    void onOnLineLoadDataSuccess(FastOnlineData data);
    void showOnLineMoreData(FastOnlineData fastOnlineData);



}
